Environment
abstract class Environment(defaultExport: Boolean) : MutableDelegatable, ReadWriteProperty<Any?, String?>
Content copied to clipboard
Environment variable accessors, that by default exports if defaultExport is true.
Can be delegated from. Delegating from Environment treats the input as optional.
Constructors
Environment
Link copied to clipboard
Functions
getOptional
Link copied to clipboard
getOrPut
Link copied to clipboard
getRequired
Link copied to clipboard
set
Link copied to clipboard
withDefault
Link copied to clipboard
fun withDefault(name: String, default: () -> String): ReadOnlyProperty<Any?, String>
Content copied to clipboard
Get an optional delegate with a default value for name.
Properties
required
Link copied to clipboard
Inheritors
Sources
js source
Link copied to clipboard